﻿using System.Collections.Generic;
using WxxMail.Common;
using WxxMail.Domain;

namespace WxxMail.IBLL
{
    public partial interface IAnswerService : IBaseService<Answer>
    {
        IList<Answer> GetList(AnswerRequest request=null);
        //void AddAnswer(Answer answer);
        /// <summary>
        /// 获取需要编辑的Answer
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Answer GetEditAnswer(int id);
        /// <summary>
        ///保存编辑的值
        /// </summary>
        /// <param name="id"></param>
        /// <param name="formCollection"></param>
        void SaveEdit(Answer answer);
    }
}
